package com.wl.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wl.entity.Check_05;

public interface Check_05Mapper {
	public int deleteByPrimaryKey(Integer id);

	public int insert(Check_05 record);

	public int insertSelective(Check_05 record);

	public Check_05 selectByPrimaryKey(Integer id);

	public int updateByPrimaryKeySelective(Check_05 record);

	public int updateByPrimaryKey(Check_05 record);

	/**
	 * 模糊查询
	 * 
	 * @param keywords
	 * @return
	 */
	public List<Check_05> listCheck_05sByKeywords(String keywords);

	/**
	 * 模糊查询加分页
	 * 
	 * @param keywords
	 * @param page
	 * @param pageSize
	 * @return
	 */
	public List<Check_05> listCheck_05sByPage(@Param(value = "keywords") String keywords,
			@Param(value = "page") Integer page, @Param("pageSize") Integer pageSize);

	/**
	 * 查询待办流程
	 * 
	 * @param keywords
	 * @param page
	 * @param pageSize
	 * @return
	 */
	public List<Check_05> listCheck_05_wait(@Param(value = "keywords") String keywords);

	/**
	 * 查询已处理流程
	 * 
	 * @param keywords
	 * @param page
	 * @param pageSize
	 * @return
	 */
	public List<Check_05> listCheck_05_approved(@Param(value = "keywords") String keywords);

	/**
	 * 查询待办流程分页
	 * 
	 * @param keywords
	 * @param page
	 * @param pageSize
	 * @return
	 */
	public List<Check_05> listCheck_05_waitByPage(@Param(value = "keywords") String keywords,
			@Param(value = "page") Integer page, @Param("pageSize") Integer pageSize);

	/**
	 * 查询已处理流程分页
	 * 
	 * @param keywords
	 * @param page
	 * @param pageSize
	 * @return
	 */
	public List<Check_05> listCheck_05_approvedByPage(@Param(value = "keywords") String keywords,
			@Param(value = "page") Integer page, @Param("pageSize") Integer pageSize);
}